package com.example.canteen.mapper;
import com.example.canteen.domain.User;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface UserMapper {
    List<User> getAll();
    User selectById(int Userid);
    public User selectByName(String username);

    public int insertUser(User user);
    public int updateUser(User user);
    public int deleteUserById(long Userid);
}